package org.oop2.duotai;

public class Fruit {
	private String name;
	private String color;
	private String eats;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTest() {
		return color;
	}
	public void setColor(String test) {
		this.color = color;
	}
	public String getEats() {
		return eats;
	}
	public void setEats(String test) {
		this.eats = eats;
	}
	public void eat(){
		System.out.println("水果很好吃");
	}
}
